import React, { Component } from 'react'
import Errordispose from './Errordispose'
import Cuowu from './Cuowu'
import More from './More'
export default class Continer extends Component {
    constructor(){
        super()
        this.state = {

        }
    }

    render() {
        return (
            <div>                                          
                                                      {/* 处理错误信息 */}
                <Errordispose render= {error=> <p>加载时发生了错误<h4>{error.toString()}</h4></p> }>
                    {/* 可能会出错的组件 */}
                   <Cuowu/>
                </Errordispose>

                <div>
                    {/* 其他组件 */}
                    <More/>
                </div>
            </div>
        )
    }
}
